#define _CRT_SECURE_NO_WARNINGS
#include"game.h"

char name[100] = { 0 };
int main()
{
	printf("Enter your name.\n");
	scanf("%s", &name);
	printf("------------------------------------------------\n");
	int input;
	do {
		Menu();
		printf("------------------------------------------------\n");
		printf("Play?(1/0)\n");
		scanf("%d", &input);
		printf("------------------------------------------------\n");
		printf("\n");
		switch (input)
		{
		case 1:
		{
			Game();
			break;
		}
		case 0:
		{
			printf("Exit.\n");
			break;
		}
		default:
		{
			printf("Error.\n");
			break;
		}

		}
	} while (input != 0);

	return 0;
}